/*
 * Open Hospital (www.open-hospital.org)
 * Copyright © 2006-2023 Informatici Senza Frontiere (info@informaticisenzafrontiere.org)
 *
 * Open Hospital is a free and open source software for healthcare data management.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * https://www.gnu.org/licenses/gpl-3.0-standalone.html
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org/licenses/>.
 */
package org.isf.sms.providers;

import org.isf.sms.model.Sms;

public interface SmsSenderInterface {

	boolean initialize();

	/**
	 * Public method to send one {@link Sms}
	 * 
	 * @param sms
	 *            - the {@link Sms} to send
	 * @return {@code true} if the SMS has been sent, {@code false} otherwise
	 */
	boolean sendSMS(Sms sms);

	/**
	 * 
	 * @return bean's name
	 */
	String getName();

	/**
	 * 
	 * @return root key in configuration file
	 */
	String getRootKey();

	boolean terminate();

}
